home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / VideoToolbox 97.08.16 / VideoToolboxSources / MATLABMain.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-04  |  1.1 KB  |  30 lines  |  [TEXT/CWIE]

  1. /*
  2. MATLABMain.h
  3.  
  4. Obsolete!!! Delete this file and all references to _MATLABMAIN_.
  5.  
  6. Old advice: This header allocates space for QuickDraw globals for use by THINK C MATLAB
  7. projects. It should be #included in the main C file of each THINK C MATLAB
  8. project, i.e. in the C file that contains "mexFunction". It must be
  9. included in exactly one source file of each project, as the THINK C Linker will
  10. otherwise complain.
  11.  
  12. New advice: add CheckConfig.c to all your THINK C MEX projects. Delete MATLABMain.h.
  13. CheckConfig.c in the Psychophysics Toolbox, available from:
  14. http://psych.ucsb.edu/pub/users/brainard/software/
  15.  
  16. HISTORY:
  17. 93        dhb wrote it
  18. 9/15/93    dgp    extracted it from VideoToolbox.h
  19. 8/30/96 dhb changes for CW C.
  20. 10/2/96    dgp deleted obsolete comments
  21. 3/9/97    dgp updated comments
  22. 3/22/97    dgp    all contents transferred to CheckConfig.c in the Psychophysics Toolbox.
  23. 4/2/97    dgp    Add #error message.
  24. */
  25. #pragma once
  26. #ifndef _MATLABMAIN_
  27. #define _MATLABMAIN_
  28. #error "MATLABMain.h is obsolete. Don't include it. Instead add the Psychophysics Toolbox PsychLibSources file CheckConfig.c to your project."
  29. #endif
  30.